home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!panix!usenet
- From: gg@panix.com (Louis Bianchi)
- Newsgroups: comp.lang.c
- Subject: Re: Don't Read This
- Date: Sat, 10 Feb 1996 14:16:07 GMT
- Organization: PANIX Public Access Internet and Unix, NYC
- Message-ID: <4fi9e1$1lj@news1.panix.com>
- References: <4fgu5n$75u@cronkite.ocis.temple.edu>
- NNTP-Posting-Host: gg.dialup.access.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- akim@thunder.ocis.temple.edu (Andrew Kim) wrote:
-
- >Please help.
- >I thought I could get your attention to help me here.
- >I am trying to do the following:
-
- >1. Write a main program that will use following functions:
- > a) int get_int ()
- > b) int get_int_in_range ()
- > c) float get_float ()
- > d) float get_float_in_range ()
-
- >2. Above program will used the above listed functions to get necessary
- >information to compute miles per gallon your car will be driven. Int
- >will be used for your mileage data and float will be used for gas used.
-
- >3. It is obvious the get_int and get_float will not be used over and
- >over again, but get_int_in_range and get_float_in_range will be used more
- >than once. The program is to use negative number as a sentinel value and
- >range is used to accept numbers so you will not be buying more gas than
- >your car can fill-up with. Furthermore, your car will not drive 200
- >miles per gallon, and your program is to accept a reasonable numbers only.
-
- >Anyone programing this will receive a kudo from me, yours truly,
-
-
- >Andrew.
-
-
- >
- How about you go and do your own homework and show a little bit of
- character. Also why not post just once rather than annoy us with one
- posting and two pointer postings.
-
- Be seeing you,
- gg
-
-
- ***************************************************
- * Louis Bianchi gg@panix.com *
- * http://www.panix.com/~gg/ *
- ***************************************************
-
-